#pragma once

#include <cstdint>

namespace jianzhi_065
{

class Solution
{
public:
    int add(int a, int b)
    {
        while (b) {
            int c = (unsigned int)(a & b) << 1;
            a ^= b;
            b = c;
        }
        return a;
    }
};

}  /* namespace jianzhi_065 */
